package cn.micro.eye.type;

import cn.micro.eye.commons.validate.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;

@Getter
@AllArgsConstructor
public enum RoleEnum implements IEnum {

    ROLE_SUPER_ADMIN(0, "超级管理员"),
    ROLE_USER(1, "基础用户"),
    ROLE_LESSEE(4, "组织机构"),
    ROLE_LESSEE_OP(5, "机构操作者");

    public static final List<Integer> GROUP = Arrays.asList(0, 1);

    private final int value;
    private final String title;

}
